package service;

import java.util.List;

import okhttp3.MultipartBody;
import retrofit2.Call;
import retrofit2.adapter.rxjava2.Result;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Path;

/**
 * Created by xulei on 2018/4/8.
 */

public interface RetrofitUpQmService {
    //
    /**
     * 上传图片
     */
    @Multipart
    @POST("{action}")
    Call<Result<String>> uploadQm(@Path("action") String action,@Part List<MultipartBody.Part> partList);
}
